import request from "@/utils/request";

// 获取评论详情
const getCommentDetail = (query) => {
  return request({
    url: `/website-comment/treeselect`,
    method: "get",
    params: query,
  });
};

// 删除评论
const deleteComment = (id) => {
  return request({
    url: `/website-comment/${id}`,
    method: "delete",
  });
};

export { getCommentDetail, deleteComment };
